package com.jumi.microservice.dto.reponse.api;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("团队管理返回数据")
public class TeamAggregate extends Aggregate{

    @ApiModelProperty("我的客户")
    private TeamItem teamItem;
    @ApiModelProperty("今日新增")
    private TeamItem today;
    @ApiModelProperty("昨日")
    private TeamItem yesterday;
    @ApiModelProperty("7天")
    private TeamItem sevenDay;
    @ApiModelProperty("30天")
    private TeamItem thirtyDay;

    public TeamAggregate( Aggregate a) {
        super(a.getLevel(),a.getChildrenNum(),a.getSumChiNum(),a.getRemainderNum(),a.getSales(),a.getSumSales(),a.getRemainderSales(),a.getAddNum(),a.getFinishAddNum(),a.getUnFinishAddNum());
    }



    public TeamItem getToday() {
        return today;
    }

    public void setToday(TeamItem today) {
        this.today = today;
    }

    public TeamItem getYesterday() {
        return yesterday;
    }

    public void setYesterday(TeamItem yesterday) {
        this.yesterday = yesterday;
    }

    public TeamItem getSevenDay() {
        return sevenDay;
    }

    public void setSevenDay(TeamItem sevenDay) {
        this.sevenDay = sevenDay;
    }

    public TeamItem getThirtyDay() {
        return thirtyDay;
    }

    public void setThirtyDay(TeamItem thirtyDay) {
        this.thirtyDay = thirtyDay;
    }

    public TeamItem getTeamItem() {
        return teamItem;
    }

    public void setTeamItem(TeamItem teamItem) {
        this.teamItem = teamItem;
    }
}
